package com.aipolice.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebAPPController {
    @GetMapping("/report")
    public String report(Model model){
        return "phone/reportSubmit";
    }

    @GetMapping("/article")
    public String article(Model model){
        return "phone/article";
    }

    @GetMapping("/register")
    public String register(Model model){
        return "phone/register";
    }

    @GetMapping("/update")
    public String update(Model model){
        return "phone/updateUser";
    }

    @GetMapping("/about")
    public String about(Model model) {return  "phone/about";}

    @GetMapping("/password")
    public String password(Model model) {return  "phone/password";}

}
